package Practice05.test1;

public class CarDemo extends TrashCar{
    public static void main(String args[]) {
        Car Democar=new Car();
        Democar.set_number(3838);
        Democar.show_number();
        TrashCar DemoTrashCar=new TrashCar( );
        DemoTrashCar.set_number(4949);
        DemoTrashCar.set_capacity(20);
        DemoTrashCar.show_number( );
        DemoTrashCar.show_capacity( );
    }
}
